.class Lcom/example/m6wmr/ChangeBindActivity$1;
.super Landroid/os/Handler;
.source "ChangeBindActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ChangeBindActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ChangeBindActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ChangeBindActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    .line 85
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 9
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const v8, 0x7f070001

    const/4 v7, 0x0

    const/4 v6, 0x1

    .line 89
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 91
    iget v3, p1, Landroid/os/Message;->what:I

    packed-switch v3, :pswitch_data_0

    .line 186
    :cond_0
    :goto_0
    return-void

    .line 94
    :pswitch_0
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f07000d

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    .line 95
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->validity:I
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$14(Lcom/example/m6wmr/ChangeBindActivity;)I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    invoke-static {v3, v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$15(Lcom/example/m6wmr/ChangeBindActivity;I)V

    .line 96
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->tv_bindtime:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$16(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/TextView;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\u5269\u4f59"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->validity:I
    invoke-static {v5}, Lcom/example/m6wmr/ChangeBindActivity;->access$14(Lcom/example/m6wmr/ChangeBindActivity;)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "\u79d2"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 98
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->validity:I
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$14(Lcom/example/m6wmr/ChangeBindActivity;)I

    move-result v3

    if-gtz v3, :cond_1

    .line 99
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    invoke-static {v3, v6}, Lcom/example/m6wmr/ChangeBindActivity;->access$4(Lcom/example/m6wmr/ChangeBindActivity;Z)V

    .line 100
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$10(Lcom/example/m6wmr/ChangeBindActivity;)Lmyapp/MyApp;

    move-result-object v4

    iget v4, v4, Lmyapp/MyApp;->regtime:I

    invoke-static {v3, v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$15(Lcom/example/m6wmr/ChangeBindActivity;I)V

    .line 101
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4, v8}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    .line 102
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->tv_bindtime:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$16(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/TextView;

    move-result-object v3

    const-string v4, "\u91cd\u65b0\u83b7\u53d6"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 103
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/widget/LinearLayout;->setClickable(Z)V

    goto/16 :goto_0

    .line 106
    :cond_1
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->isstop:Z
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$17(Lcom/example/m6wmr/ChangeBindActivity;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 107
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    invoke-static {v3, v7}, Lcom/example/m6wmr/ChangeBindActivity;->access$18(Lcom/example/m6wmr/ChangeBindActivity;Z)V

    .line 109
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4, v8}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    .line 110
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->tv_bindtime:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$16(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/TextView;

    move-result-object v3

    const-string v4, "\u91cd\u65b0\u83b7\u53d6"

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 111
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/widget/LinearLayout;->setClickable(Z)V

    goto/16 :goto_0

    .line 115
    :cond_2
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->h:Landroid/os/Handler;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$5(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/os/Handler;

    move-result-object v3

    const-wide/16 v4, 0x3e8

    invoke-virtual {v3, v6, v4, v5}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto/16 :goto_0

    .line 128
    :pswitch_1
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->getHttpAuthCodeString:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$12(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 130
    .local v1, "jsonObject":Lorg/json/JSONObject;
    const-string v3, "error"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "true"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 131
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "msg"

    invoke-virtual {v1, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    .line 142
    .end local v1    # "jsonObject":Lorg/json/JSONObject;
    :catch_0
    move-exception v0

    .line 144
    .local v0, "e":Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_0

    .line 135
    .end local v0    # "e":Lorg/json/JSONException;
    .restart local v1    # "jsonObject":Lorg/json/JSONObject;
    :cond_3
    :try_start_1
    const-string v3, "msg"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 136
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u6570\u636e\u4e3a\u7a7a"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0

    .line 155
    .end local v1    # "jsonObject":Lorg/json/JSONObject;
    :pswitch_2
    :try_start_2
    new-instance v1, Lorg/json/JSONObject;

    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->getHttpbindCommitString:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$19(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 157
    .restart local v1    # "jsonObject":Lorg/json/JSONObject;
    const-string v3, "error"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "true"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    .line 158
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "msg"

    invoke-virtual {v1, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_0

    .line 174
    .end local v1    # "jsonObject":Lorg/json/JSONObject;
    :catch_1
    move-exception v0

    .line 176
    .restart local v0    # "e":Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_0

    .line 162
    .end local v0    # "e":Lorg/json/JSONException;
    .restart local v1    # "jsonObject":Lorg/json/JSONObject;
    :cond_4
    :try_start_3
    const-string v3, "msg"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_5

    .line 163
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u6570\u636e\u4e3a\u7a7a"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 167
    :cond_5
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    const-string v4, "userInfo"

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Lcom/example/m6wmr/ChangeBindActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 168
    .local v2, "sharedPreferences":Landroid/content/SharedPreferences;
    invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v3

    const-string v4, "phone"

    iget-object v5, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/ChangeBindActivity;->access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v3

    invoke-interface {v3}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 170
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$1;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "msg"

    invoke-virtual {v1, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_3
    .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_1

    goto/16 :goto_0

    .line 91
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
